﻿using Microsoft.AspNetCore.Mvc;
using MyBlog.Model.Entity;

namespace MyBlog.ViewComponentEx
{
    /// <summary>
    /// 博客列表视图组件类
    /// </summary>
    public class BlogListViewComponent: ViewComponent
    {
        public IViewComponentResult Invoke()
        {
            return View("~/ComponentEx/Views/BlogList.cshtml");
        }
    }
}
